#ifndef SWP_SIM_ACTIVITY_CONNECTOR_GRAPHIC_ITEM
#define SWP_SIM_ACTIVITY_CONNECTOR_GRAPHIC_ITEM

#include "isimitem.h"
#include "swpactivityconnectorgraphicitem.h"

namespace swp
{

class SwpSimActivityConnectorGraphicItem :
    public SwpActivityConnectorGraphicItem, public ISimItem
{
public:
    SwpSimActivityConnectorGraphicItem(QGraphicsItem* parent = 0);
    SwpSimActivityConnectorGraphicItem(SwpActivityConnectorGraphicItem* from,
        QGraphicsItem* parent = 0);
    ~SwpSimActivityConnectorGraphicItem();

    int type() const;

    core::IEditorItem* copy() const;

    // ISimItem
    bool isInSimPath() const;
    void setInSimPath(bool in = true);
    QUuid originId() const;

private:
    bool m_isInSimPath;
    QUuid m_originId;
};

} // namespace swp

#endif
